﻿using System;
using System.Xml.Schema;
using System.Xml.Serialization;
using flickr.api.communication;

namespace flickr.api
{
	[Serializable]
	public class Online : FlickrObject
	{
	    public Online():base(){}
	    public Online(FlickrConnection connection) : base(connection){}
	    
		[XmlElement("user", Form=XmlSchemaForm.Unqualified)]
		public OnlineUser[] UserCollection;
	}

    [Serializable]
	public enum OnlineStatus
	{
		[XmlEnum("1")]
		Away = 1,
		[XmlEnum("2")]
		Online = 2
	}
}